package com.rbac.configuration.secutity.ignore;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zhangliang
 * @version 1.0
 * @date 2021/1/25 13:10
 */

@ConfigurationProperties(prefix = "custom.config")
@Component
public class CustomConfig  {
    /**
     * 不需要拦截的地址
     */
    private IgnoreConfig ignoreConfig;

    public CustomConfig(IgnoreConfig ignoreConfig) {
        this.ignoreConfig = ignoreConfig;
    }
    public  CustomConfig(){

    }

    public IgnoreConfig getIgnoreConfig() {
        return ignoreConfig;
    }

    public void setIgnoreConfig(IgnoreConfig ignoreConfig) {
        this.ignoreConfig = ignoreConfig;
    }

}
